﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WeChatParking.Core.Payment.UnionPay
{
    /// <summary>
    /// 停车场状态信息
    /// </summary>
    public class Parking : Responses
    {
        public ParkingInfo data { get; set; }
    }
    public class ParkingInfo
    {
        /// <summary>
        /// 应用商户代码，由智慧通行平台分配
        /// </summary>
        public string appId { get; set; }
        /// <summary>
        /// 运营商分配给停车场的id，由运营商定义
        /// </summary>
        public string parkId { get; set; }
        /// <summary>
        /// 运营商分配给停车场的名称，由运营商定义
        /// </summary>
        public string parkName { get; set; }
        /// <summary>
        /// 纬度坐标 (例如:39.872748)
        /// </summary>
        public string lat { get; set; }
        /// <summary>
        /// 经度坐标 (例如:116.429718)
        /// </summary>
        public string lon { get; set; }
        /// <summary>
        /// 车位状态
        /// </summary>
        public string capacityStatus { get; set; }
        /// <summary>
        /// 总车位数
        /// </summary>
        public int totalSpace { get; set; }
        /// <summary>
        /// 空闲车位数
        /// </summary>
        public int freeSpace { get; set; }
        /// <summary>
        /// 营业时间,(例如:00:00-24:00)
        /// </summary>
        public string businessHours { get; set; }
        /// <summary>
        /// 城市名称
        /// </summary>
        public string cityName { get; set; }
        /// <summary>
        /// 省名
        /// </summary>
        public string provinceName { get; set; }
        /// <summary>
        /// 区名
        /// </summary>
        public string districtName { get; set; }
        /// <summary>
        /// 收费标准
        /// </summary>
        public string chargingDescription { get; set; }
        /// <summary>
        /// 停车场状态更新时间。UTC时间。例如：2018-03-16T16:06:05Z
        /// </summary>
        public DateTime updateTime { get; set; }
    }
}